#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    virtual ~Widget();

private:
    void showBoolInfo(QString str, bool checkValue);

private slots:
    void on_pushButtonFrontBack_clicked();
    void on_pushButtonLeftRight_clicked();
    void on_pushButtonFirstLast_clicked();
    void on_pushButtonSection_clicked();
    void on_pushButtonIsNull_clicked();
    void on_pushButtonResize_clicked();
    void on_pushButtonSizeLen_clicked();
    void on_pushButtonFill_clicked();
    void on_pushButtonIndexOf_clicked();
    void on_pushButtonContains_clicked();
    void on_pushButtonEndsWith_clicked();
    void on_pushButtonCount_clicked();
    void on_pushButtonTrimmed_clicked();
    void on_pushButtonInsert_clicked();
    void on_pushButtonRemove_clicked();
    void on_pushButtonReplace_clicked();
    void on_pushButtonClear_clicked();

private:
    Q_DISABLE_COPY(Widget)

    Ui::Widget *ui;
};

#endif // WIDGET_H
